import {provide,inject} from "vue"

const ContextKey = Symbol("form");

export function useProvideFormContext(instance){
    provide(ContextKey,instance)
}
export function useInjectFormContext(){
    return inject(ContextKey)
}


